package com.wisdomparking.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.wisdomparking.bean.Orders;

@Mapper
public interface OrdersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Orders record);

    int insertSelective(Orders record);

    Orders selectByPrimaryKey(Integer id);
    
    Orders selectByOrdersNumber(String orderNumber);

    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);
    
    List<Orders> getOrdersList(Map<String, Object> map);
    
    long getCountByOrders(Map<String, Object> map);
}